package com.ruoyi.an.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构下推广成员对象 an_mechanism_member
 * 
 * @author ruoyi
 * @date 2022-11-05
 */
@Data
public class AnMechanismMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构成员ID */
    private Long mechanismMemberId;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long mechanismId;

    /** 机构成员名称 */
    @Excel(name = "机构成员名称")
    private String memberName;

    /** 成员联系方式 */
    @Excel(name = "成员联系方式")
    private String memberPhone;

    /** 推广码 */
    @Excel(name = "推广码")
    private String promotionCode;

    /** 推广码图片 */
    @Excel(name = "推广码图片")
    private String promotionCodeImg;

    /** 关联微信号 */
    @Excel(name = "关联微信号")
    private Long wechatUserId;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mechanismMemberId", getMechanismMemberId())
            .append("mechanismId", getMechanismId())
            .append("memberName", getMemberName())
            .append("memberPhone", getMemberPhone())
            .append("promotionCode", getPromotionCode())
            .append("promotionCodeImg", getPromotionCodeImg())
            .append("wechatUserId", getWechatUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
